package factorymethod;

import factorymethod.abstractfactory.AbstractFactory;
import factorymethod.human.BlackHuman;
import factorymethod.humanfactory.BlackHumanFactory;

/**
 * @author heyuduo
 * @date 2022/7/3 16:58
 */
public class NvWA {
    public static void main(String[] args) {
        AbstractFactory factory = new BlackHumanFactory();
        factory.createHuman().printColor();
    }
}
